-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(dependencies): move 'tailwindcss-animate' to devDependencies #5772
base: main
Are you sure you want to change the base?
build(dependencies): move 'tailwindcss-animate' to devDependencies #5772
Conversation
Converted 'tailwindcss-animate' from a regular dependency to a devDependency across style configurations. This optimizes production builds by excluding development-related assets, enhancing performance and reducing bundle size. No functional dependencies are affected by this change.
@Jacksonmills is attempting to deploy a commit to the shadcn-pro Team on Vercel. A member of the Team first needs to authorize it. |
@shadcn I need some guidance on running the I seem to have it running with |
@Jacksonmills What worked for me was running |
Okay thanks I'll try that! |
@smithgeek got it working ty! |
Reorganize JSON files to distinctly separate "devDependencies" from regular dependencies for clarity and accuracy. Adjust the build script to reflect these changes, ensuring that dev dependencies like "tailwindcss-animate" are distinctly included in the build process. This modification resolves discrepancies in the generated registry files, improving maintainability and adhering to updated project practices.
Moved "tailwindcss-animate" from regular dependencies to devDependencies to ensure that build-specific animations do not bloat the production bundle unnecessarily. This separation helps streamline production builds and maintain cleaner dependency management.
…animate-as-dev-dep
Enhanced the `updateDependencies` function to handle devDependencies separately from regular dependencies. This improvement allows for the specific installation of development dependencies using the appropriate package manager flags, ensuring better package management and environment consistency.
@shadcn am I missing or doing something wrong here? I seem to always get "tailwindcss-animate" in deps when I test Thanks |
@Jacksonmills I'll take a look. Re. running the cli locally. Here's my workflow:
eg.
|
ahh could be I was not running the local www for the updated registry... will test later that did it! tyty |
@shadcn LMK if I need to change anything else, thanks again for the help! |
Also @smithgeek check out shacn's workflow, seems like the best way to test in full Maybe worth updating the contribution readme with this for others that might be a bit confused on running it all I misunderstood but make sure to run this with an actual command from shadcn e.g. |
…animate-as-dev-dep
…animate-as-dev-dep
Converted 'tailwindcss-animate' from a regular dependency to a devDependency across style configurations. This optimizes production builds by excluding development-related assets, enhancing performance and reducing bundle size. No functional dependencies are affected by this change.
Addresses: #5197